//获取跳转页面
console.log('加载end.js');
var url=location.href;

if (url.indexOf("#") != -1) {
	var start = url.indexOf("#")+1;
	//var len = url.indexOf('html')+3;
    var url=url.substr(start);
}
//跳转
if(url){
	console.log(url);
	mainView.router.loadPage(url);
} 